import { createApp } from "vue";
import App from "./App.vue";

import "animate.css";
// 引入pinia
import { createPinia } from "pinia";
// 注册
const pinia = createPinia();
// 注册pinia
const app = createApp(App);
// 引入router
import router from "./router/index";
// 引入vant
import vant from "vant";
// 引入组件样式 (这里是全部引入)
import "vant/lib/index.css";
// px转rem
import "amfe-flexible";

app.use(pinia).use(router).use(vant).mount("#app");
